package com.PGD.model.vos
{
	import flash.events.Event;
	
	import uranrus.persistence.BazManaged;
	
	public class Answer extends BazManaged
	{
		public function Answer()
		{
		}
		
		
		private var _id:String;
		[Bindable(event="idChange")]
		override public function set id (value:*):void
		{
			if (value != _id)
			{
				_id = value as String;
				dispatchEvent (new Event ("idChange"));
			}
		}

		override public function get id ():*
		{
			return _id;
		}

		private var _ansSetID:String;
		[Bindable(event="ansSetIDChange")]
		public function set ansSetID (value:String):void
		{
			if (value != _ansSetID)
			{
				_ansSetID = value;
				dispatchEvent (new Event ("ansSetIDChange"));
			}
		}

		public function get ansSetID ():String
		{
			return _ansSetID;
		}


		
		private var _answerText:String;
		[Bindable(event="answerTextChange")]
		public function set answerText (value:String):void
		{
			if (value != _answerText)
			{
				_answerText = value;
				dispatchEvent (new Event ("answerTextChange"));
			}
		}

		public function get answerText ():String
		{
			return _answerText;
		}

		private var _answerValue:String;
		[Bindable(event="answerValueChange")]
		public function set answerValue (value:String):void
		{
			if (value != _answerValue)
			{
				_answerValue = value;
				dispatchEvent (new Event ("answerValueChange"));
			}
		}

		public function get answerValue ():String
		{
			return _answerValue;
		}

		private var _order:int;
		[Bindable(event="orderChange")]
		public function set order (value:int):void
		{
			if (value != _order)
			{
				_order = value;
				dispatchEvent (new Event ("orderChange"));
			}
		}

		public function get order ():int
		{
			return _order;
		}



	}
}